package com.liao.r2dbc.dao;

import com.liao.r2dbc.pojo.User;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

//1.1.6不能继承PagingAndSortingRepository，且不能使用方法名关键字查询
public interface UserDao extends PagingAndSortingRepository<User,Integer>,CustomUserDao {

     List<User> findByIdBetween(Integer start, Integer end);
}
